<?xml version="1.0" encoding="utf-8"?>
<Sonic>
	<ProcessorTools>
    <Tool name="CssTidy" path="C:\SonicTest\Tools\csstidy.exe">
      <Arguments>${input} --sort_properties=true --template=high ${output}</Arguments>
    </Tool>
    <Tool name="HtmlTidy" path="C:\SonicTest\Tools\tidy.exe">
      <Arguments>-m -i -output-xhtml -wrap 500 -utf8 ${input}</Arguments>
    </Tool>
    <Tool name="PngOut" path="C:\SonicTest\Tools\pngout.exe">
      <Arguments>${input} /y /q</Arguments>
    </Tool>
    <Tool name="YUICompressor" path="C:\Program Files\Java\jre1.6.0_03\bin\java.exe">
      <Arguments>-jar C:\SonicTest\Tools\yuicompressor-2.1.1\build\yuicompressor-2.1.1.jar --nomunge --warn --charset UTF8 -o ${output} ${input}</Arguments>
    </Tool>
	</ProcessorTools>

  <ProcessorToolDirectives>
    <Directive name="DateStamp" type="Sonic.Framework.ProcessorToolDirectives.Default.DateStamper" path="G:\SonicBuildTool\Project\Sonic.Framework.ProcessorToolDirectives.Default\bin\Debug\Sonic.Framework.ProcessorToolDirectives.Default.dll" />
    <Directive name="FileNameFilter" type="Sonic.Framework.ProcessorToolDirectives.Default.FileNameFilter" path="G:\SonicBuildTool\Project\Sonic.Framework.ProcessorToolDirectives.Default\bin\Debug\Sonic.Framework.ProcessorToolDirectives.Default.dll" />
    <Directive name="Concatenate" type="Sonic.Framework.ProcessorToolDirectives.Default.Concatenator" path="G:\SonicBuildTool\Project\Sonic.Framework.ProcessorToolDirectives.Default\bin\Debug\Sonic.Framework.ProcessorToolDirectives.Default.dll" />
    <Directive name="Exclude" type="Sonic.Framework.ProcessorToolDirectives.Default.ExcludeFilter" path="G:\SonicBuildTool\Project\Sonic.Framework.ProcessorToolDirectives.Default\bin\Debug\Sonic.Framework.ProcessorToolDirectives.Default.dll" />
  </ProcessorToolDirectives>

  <Site path="C:\temp\xeropublic\">
		<Directory processorTool="CssTidy" relativePath="~\css\" filePattern="*.css">
      <ProcessorToolDirectives>
        <Pre>
          <Directive name="FileNameFilter" pattern="\d{6}\.css$" deleteMatchingFiles="true" />
          <Directive name="Exclude">
            <Path type="ProcessorToolDirective" name="DateStamp" scope="Directory">~\uk\</Path>
            <Path type="ProcessorTool" scope="Directory">~\uk\</Path>
          </Directive>
          <Directive name="Concatenate" output="~\global\master.css" deleteSourceFiles="true">
            <Path>~\global\main.css</Path>
            <Path>~\global\layouts.css</Path>
            <Path>~\global\sidebar.css</Path>
            <Path>~\global\header.css</Path>
          </Directive>
        </Pre>
        <Post>
          <Directive name="DateStamp" dateFormat="yyMMdd" deleteSourceFiles="true" />
        </Post>
      </ProcessorToolDirectives>
		</Directory>

    <Directory processorTool="PngOut" relativePath="~\img\" filePattern="*.png">
      <ProcessorToolDirectives>
        <Pre>
          <Directive name="Exclude">
            <Path type="ProcessorTool" scope="Directory">~\global\buttons\</Path>
            <Path type="ProcessorTool" scope="File">~\global\home\title-hero.png</Path>
            <Path type="ProcessorTool" scope="File">~\global\header\sprites.png</Path>
            <Path type="ProcessorTool" scope="File">~\uk\home\title-hero.png</Path>
          </Directive>
        </Pre>
        <Post>
        </Post>
      </ProcessorToolDirectives>
    </Directory>

    <Directory processorTool="Null" relativePath="~\img\" filePattern="*.png|*.gif|*.bmp|*.jpg|*.jpeg">
      <ProcessorToolDirectives>
        <Pre>
          <Directive name="FileNameFilter" pattern="\d{6}\.(png|gif|bmp|jpg|jpeg)$" deleteMatchingFiles="true" />
          <Directive name="Exclude">
            <Path type="ProcessorToolDirective" name="DateStamp" scope="Directory">~\global\logo\</Path>
            <Path type="ProcessorToolDirective" name="DateStamp" scope="Directory">~\global\casestudies\quotes\</Path>
            <Path type="ProcessorToolDirective" name="DateStamp" scope="Directory">~\global\signup\tictactoe\</Path>
            <Path type="ProcessorToolDirective" name="DateStamp" scope="File">~\global\blank.gif</Path>
          </Directive>
        </Pre>
        <Post>
          <Directive name="DateStamp" dateFormat="yyMMdd" deleteSourceFiles="true" />
        </Post>
      </ProcessorToolDirectives>
    </Directory>
    
    <Directory processorTool="YUICompressor" relativePath="~\js\" filePattern="*.js">
      <ProcessorToolDirectives>
        <Pre>
          <Directive name="FileNameFilter" pattern="\d{6}\.js$" deleteMatchingFiles="true" />
          <Directive name="Exclude">
            <Path type="ProcessorToolDirective" name="DateStamp" scope="File">~\xero.widget.advisorsearchbar.js</Path>
            <Path type="ProcessorTool" scope="File">~\xero.widget.advisorsearchbar.js</Path>
          </Directive>
          <Directive name="Concatenate" output="~\xero.player.soapbox.js" deleteSourceFiles="false">
            <Path>~\xero.player.js</Path>
            <Path>~\xero.soapbox.js</Path>
          </Directive>
        </Pre>
        <Post>
          <Directive name="DateStamp" dateFormat="yyMMdd" deleteSourceFiles="true" />
        </Post>
      </ProcessorToolDirectives>
    </Directory>

    <Directory processorTool="HtmlTidy" relativePath="~\pages\landings\" filePattern="*.htm|*.html">
      <ProcessorToolDirectives>
        <Pre></Pre>
        <Post></Post>
      </ProcessorToolDirectives>
    </Directory>
	</Site>
</Sonic>